home *** CD-ROM | disk | FTP | other *** search
/ The Sunday Times: Parent Power / The Sunday Times - Parent Power.iso / pc / engine / feature3.swf / scripts / frame_1 / DoAction.as
Encoding:
Text File  |  2005-11-03  |  406 b   |  24 lines

  1. function backToMenu()
  2. {
  3.    _parent.movie_load("features.swf");
  4. }
  5. function showPage(nmPageNum)
  6. {
  7.    var _loc2_ = undefined;
  8.    if(nmPageNum == "prev")
  9.    {
  10.       _loc2_ = _currentframe - 1;
  11.    }
  12.    else if(nmPageNum == "next")
  13.    {
  14.       _loc2_ = _currentframe + 1;
  15.    }
  16.    else
  17.    {
  18.       _loc2_ = nmPageNum;
  19.    }
  20.    mcNav.gotoAndStop(_loc2_);
  21.    this.gotoAndStop(_loc2_);
  22. }
  23. stop();
  24.